---
title: pipy.exit()
api: pipy.exit
---

## Description

<Summary/>

## Syntax

``` js
pipy.exit()
pipy.exit(code)
```

## Parameters

<Parameters/>

## See Also

* [pipy()](/reference/api/pipy)
* [pipy.restart()](/reference/api/pipy/restart)
